package cn.itliuliu.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer pageNum = 1;

    private Integer pageSize = 10;

    //接收高级查询参数
    private String keyword;

    public Integer getPage(){
        return (this.pageNum-1)*this.pageSize;
    }
}
